wayland: Refactor the keymap handling so it is associated with device
authorJosé Dapena Paz <jdapena@igalia.com>
Mon, 16 Jul 2012 18:02:41 +0000 (19:02 +0100)
committerRob Bradford <rob@linux.intel.com>
Mon, 16 Jul 2012 19:11:41 +0000 (20:11 +0100)
commitd2267824b3193daf1bedce3b7cdfd57fd9614060
tree4ad66c61dd4836778fa6f915887b88a09eddfc81
parentfb76a0a000d1fffc49c884ed101709b6e9325865
wayland: Refactor the keymap handling so it is associated with device

Although GDK expects the keymap to be associated with the display under
Wayland this is really associated with the input device so expose this by
finding the first keyboard device.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkkeys-wayland.c
gdk/wayland/gdkprivate-wayland.h